package com.wunong.smart.collection.client.param;

import com.wunong.smart.domain.platform.common.BaseParam;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 收藏
 *
 * @author create by zealot.zt
 */
@Getter
@Setter
@ToString(callSuper = true)
public class CollectParam extends BaseParam {

    /**
     * 业务编号
     */
    @NotNull(message = "亲，业务编号必填")
    private Long bizId;

    /**
     * 业务类型
     */
    @NotNull(message = "亲，业务类型必填")
    private Integer bizType;

    /**
     * 用户编号
     */
    @NotNull(message = "亲，用户编号必填")
    private Long userId;

    /**
     * 用户角色
     */
    @NotNull(message = "亲，用户角色必填")
    private Integer userRole;

    /**
     * 收藏类型
     */
    @NotNull(message = "亲，收藏类型必填")
    private String collectType;

    public static CollectParam of() {
        return new CollectParam();
    }

}
